package com.example.springboot.service;

import com.example.springboot.controller.request.BasePageRequest;
import com.example.springboot.entity.Hire;

import java.util.List;

/**
 * ClassName:HireService
 * Package:com.example.springboot.service
 * Description:
 *
 * @Author: Gao
 * @Create: 2023/2/7 - 16:49
 */
public interface HireService {
    List<Hire> list();

    Object page(BasePageRequest basePageRequest);

    void save(Hire hire);

    Hire getById(Integer id);

    void update(Hire hire);

    void deleteById(Integer id);

    Hire getByHireNo(String hireNo);

    Object getCountByTimeRange(String timeRange);
}
